<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <script src="../org/angular.min.js"></script>
    <title>Document</title>
</head>
<body ng-app="hd">

<div ng-controller="ctrl" >
    <input type="checkbox" ng-model="status">接受协议
    <span ng-init="check=false" ng-click="check=!check"> 查看协议</span><br/>
    <textarea ng-if="check">该学习过程非常简单</textarea>
    <button ng-disabled="!status">注册</button>
</div>

<script>
    var m = angular.module('hd',[]);
    m.controller('ctrl',['$scope',function($scope){

    }])
</script>
</body>
</html>